package com.yang.eduauth.service.impl;

import com.yang.eduauth.entity.Permission;
import com.yang.eduauth.mapper.PermissionMapper;
import com.yang.eduauth.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yds
 * @since 2020-12-21
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {


    /*
       检查菜单是否分配了角色id
     */
    @Override
    public boolean checkMenuExistRole(String id) {
        return false;
    }

    /*
     检查菜单是否拥有有效子菜单
   */
    @Override
    public boolean hasChildByMenuId(String id) {
        return false;
    }
}
